package com.ybliang.plat.user.service.impl;

import com.ybliang.plat.user.mapper.UserMapper;
import com.ybliang.plat.user.model.UserModel;
import com.ybliang.plat.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public UserModel findByMobile(String mobile) {
        UserModel user = userMapper.findByMobile(mobile);
        return user;
    }
}
